import axios from '../utils/HttpRequest'

const apiTicket = (agentId) => axios.get(`/wxwork/auth/app/getConfig`, null, agentId)

const agentApiTicket = (agentId, configData) => axios.get(`/wxwork/auth/app/agentconfig`, configData, agentId)

const getCurrentUser = (agentId) => axios.get(`/wxwork/auth/app/getCurrentUser`, null, agentId)


export default {
  apiTicket,
  agentApiTicket,
  getCurrentUser
}


